package mycache

import (
	"github.com/patrickmn/go-cache"
	"time"
)

// C is the mycache instance which is exported to serve
//var PriceCache = cache.New(5*time.Minute, 10*time.Minute)
//
//var WsCache = cache.New(5*time.Minute, 10*time.Minute)

////记录所有订阅
//var SubCache = cache.New(5*time.Minute, 10*time.Minute)

//记录价格服务
var PriceCache = cache.New(5*time.Minute, 10*time.Minute)

//记录所有用户信息
var AccountCache  = cache.New(5*time.Minute, 10*time.Minute)

//记录所有策略信息
var StrategyCache = cache.New(5*time.Minute, 10*time.Minute)

//记录BinanceSwap
var OrderServerCache = cache.New(5*time.Minute, 10*time.Minute)

//记录订单信息
var OrderCache = cache.New(5*time.Minute, 10*time.Minute)